// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

#nullable restore

using System;
using System.Linq;
using Elastic.Clients.Elasticsearch.Serialization;

namespace Elastic.Clients.Elasticsearch.Cluster;

[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Cluster.Json.DenseVectorOffHeapStatsConverter))]
public sealed partial class DenseVectorOffHeapStats
{
	[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
	public DenseVectorOffHeapStats(long totalSizeBytes, long totalVebSizeBytes, long totalVecSizeBytes, long totalVeqSizeBytes, long totalVexSizeBytes)
	{
		TotalSizeBytes = totalSizeBytes;
		TotalVebSizeBytes = totalVebSizeBytes;
		TotalVecSizeBytes = totalVecSizeBytes;
		TotalVeqSizeBytes = totalVeqSizeBytes;
		TotalVexSizeBytes = totalVexSizeBytes;
	}
#if NET7_0_OR_GREATER
	public DenseVectorOffHeapStats()
	{
	}
#endif
#if !NET7_0_OR_GREATER
	[System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
	public DenseVectorOffHeapStats()
	{
	}
#endif
	[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
	internal DenseVectorOffHeapStats(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel)
	{
		_ = sentinel;
	}

	public System.Collections.Generic.IReadOnlyDictionary<string, System.Collections.Generic.IReadOnlyDictionary<string, long>>? Fielddata { get; set; }
	public Elastic.Clients.Elasticsearch.ByteSize? TotalSize { get; set; }
	public
#if NET7_0_OR_GREATER
	required
#endif
	long TotalSizeBytes { get; set; }
	public Elastic.Clients.Elasticsearch.ByteSize? TotalVebSize { get; set; }
	public
#if NET7_0_OR_GREATER
	required
#endif
	long TotalVebSizeBytes { get; set; }
	public Elastic.Clients.Elasticsearch.ByteSize? TotalVecSize { get; set; }
	public
#if NET7_0_OR_GREATER
	required
#endif
	long TotalVecSizeBytes { get; set; }
	public Elastic.Clients.Elasticsearch.ByteSize? TotalVeqSize { get; set; }
	public
#if NET7_0_OR_GREATER
	required
#endif
	long TotalVeqSizeBytes { get; set; }
	public Elastic.Clients.Elasticsearch.ByteSize? TotalVexSize { get; set; }
	public
#if NET7_0_OR_GREATER
	required
#endif
	long TotalVexSizeBytes { get; set; }
}